/* 股票新闻分析系统自定义样式 */

body {
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    background-color: #f5f5f5;
}

.navbar-brand {
    font-weight: bold;
}

.jumbotron {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card {
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    font-weight: bold;
}

.progress {
    height: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

.badge {
    font-weight: 500;
    padding: 5px 10px;
}

.list-group-item {
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* 自定义按钮样式 */
.btn-primary {
    background-color: #1e88e5;
    border-color: #1e88e5;
}

.btn-primary:hover {
    background-color: #1976d2;
    border-color: #1976d2;
}

.btn-success {
    background-color: #43a047;
    border-color: #43a047;
}

.btn-success:hover {
    background-color: #388e3c;
    border-color: #388e3c;
}

/* 涨跌颜色 */
.text-up {
    color: #f44336 !important;
}

.text-down {
    color: #4caf50 !important;
}

.text-stable {
    color: #ff9800 !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem;
    }

    h1.display-4 {
        font-size: 2.5rem;
    }
}

/* 打印样式 */
@media print {

    .navbar,
    .footer,
    .btn {
        display: none !important;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}